package com.itheima.pojo;

import java.sql.Timestamp;

public class Order {
    private Integer oid;
    private Integer user_id;
    private String number;
    private Timestamp create_time;
    private String note;

    public Order() {
    }

    public Order(Integer oid, Integer user_id, String number, Timestamp create_time, String note) {
        this.oid = oid;
        this.user_id = user_id;
        this.number = number;
        this.create_time = create_time;
        this.note = note;
    }

    /**
     * 获取
     * @return oid
     */
    public Integer getOid() {
        return oid;
    }

    /**
     * 设置
     * @param oid
     */
    public void setOid(Integer oid) {
        this.oid = oid;
    }

    /**
     * 获取
     * @return user_id
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return number
     */
    public String getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 获取
     * @return create_time
     */
    public Timestamp getCreate_time() {
        return create_time;
    }

    /**
     * 设置
     * @param create_time
     */
    public void setCreate_time(Timestamp create_time) {
        this.create_time = create_time;
    }

    /**
     * 获取
     * @return note
     */
    public String getNote() {
        return note;
    }

    /**
     * 设置
     * @param note
     */
    public void setNote(String note) {
        this.note = note;
    }

    public String toString() {
        return "Order{oid = " + oid + ", user_id = " + user_id + ", number = " + number + ", create_time = " + create_time + ", note = " + note + "}";
    }
}
